package com.caishi.lkx.exam.service;

import com.caishi.lkx.exam.vo.QuestionCollectStructureVo;
import com.caishi.lkx.exam.vo.QuestionCollectVo;
import com.zzw.common.entity.BSService;
import com.caishi.lkx.exam.QuestionCollection;

import java.io.Serializable;

/**
 * 试题集合对象服务
 */
public interface QuestionCollectionService<T extends QuestionCollection<T, ID>, ID extends Serializable> extends BSService<T, ID> {

    /**
     * 客户端获取实体集合内容
     * 试题信息只包含基本信息
     *
     * @param id 集合对象id
     * @return
     */
    QuestionCollectVo clientCollectionData(String userId, Long groupId, ID id, String industryId, String examId, Long categoryId,boolean setRightAnswer);


    /**
     * 获取集合结构
     *
     * @return
     */
    QuestionCollectStructureVo collectionDataStructure(ID id, String industryId, String examId, Long categoryId);
}
